package com.cloudbroker.bcs.platform.dav.bizapi.service.operate.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.DateValue;
import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.BlockType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.PageVO;

/**
 * Created by wangxu13798 on 2016/8/24.
 */
public class OperateGetFansForm extends PageVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @NotBlank
    protected String branch_no;

    @IntegerString
    @EnumValue(enumClass = BlockType.class)
    protected String fans_type;

    @Length(max = 64)
    protected String customer_name;

    @Length(max = 64)
    protected String mobile;

    @DateValue
    protected String register_start_time;

    @DateValue
    protected String register_end_time;

    public String getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(String branch_no) {
        this.branch_no = branch_no;
    }

    public String getFans_type() {
        return fans_type;
    }

    public void setFans_type(String fans_type) {
        this.fans_type = fans_type;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getRegister_start_time() {
        return register_start_time;
    }

    public void setRegister_start_time(String register_start_time) {
        this.register_start_time = register_start_time;
    }

    public String getRegister_end_time() {
        return register_end_time;
    }

    public void setRegister_end_time(String register_end_time) {
        this.register_end_time = register_end_time;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OperateGetFansForm{");
        sb.append("branch_no='").append(branch_no).append('\'');
        sb.append(", fans_type='").append(fans_type).append('\'');
        sb.append(", customer_name='").append(customer_name).append('\'');
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", register_start_time='").append(register_start_time).append('\'');
        sb.append(", register_end_time='").append(register_end_time).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
